# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=x-scan
pkgver=3.3
pkgrel=5
pkgdesc='A general network vulnerabilities scanner for scanning network vulnerabilities for specific IP address scope or stand-alone computer by multi-threading method, plug-ins are supportable.'
url='http://www.xfocus.org/'
groups=('blackarch' 'blackarch-windows' 'blackarch-scanner')
license=('custom:unknown')
arch=('any')
source=("https://github.com/BlackArch/x-scan/raw/master/X-Scan-v$pkgver.zip")
sha512sums=('30284e8b76ee8711cda42d4c084e5e129903d4ad1e5fbe64a366fdcf0c5bf7f67e4611029972243d8f00c29899b714cc23666d68a01a177b9fd9bee60cd4ba38')

package() {
  install -dm 755 "$pkgdir/usr/share/windows/$pkgname"

  cp -a "X-Scan-v$pkgver/"* "$pkgdir/usr/share/windows/$pkgname/"
}

